package com.gljx.web.dao;

import com.gljx.web.Entity.Clazz;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface ClazzMapper {
    int deleteByPrimaryKey(String fid);

    int insert(Clazz record);

    int insertSelective(Clazz record);

    Clazz selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(Clazz record);

    int updateByPrimaryKey(Clazz record);

    String selectFnumber(String companyId);

    List<Clazz> selectClazzAll();

    List<Clazz> selectByCompanyID(@Param("CompanyID")String CompanyID);

    List<Clazz> selectClazzByName(String name);

    Clazz selClazzById(String id);

    List<Clazz> selectClazzExcel(Map<String, String> map);

    List<Clazz> selectClazzByNameMap(Map map);
}